package com.example.Mapper;


import com.example.pojo.user;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface userMapper {

 //   where username=#{username} and password=#{password}
    @Select("select * from user where username=#{username} and password=#{password}")
    public user login(String username,String password);
}
